module Base
{
	model fhq70Challenger
	{
		mesh = vehicles/vehicle_fhq70challenger,
		shader = vehicle_multiuv,
		invertX = FALSE,
		scale = 1,
	}
	vehicle fhq70Challenger
    {
        mechanicType = 1,
        offRoadEfficiency = 0.8,
        engineRepairLevel = 4,
        playerDamageProtection = 0.8,
        engineRPMType = firebird,

        model
        {
            file = fhq70Challenger,
            scale = 0.7500,
            offset = 0.0000 0.7333 0.1733,
        }

        spawnOffsetY = 0.12999995,

        skin
        {
            texture = Vehicles/vehicle_fhq70Challenger_shell,
        }

        textureMask = Vehicles/vehicle_fhq70Challenger_Mask,
        textureLights = Vehicles/vehicle_fhq70Challenger_Lights,
        textureDamage1Overlay = Vehicles/Veh_Blood_Mask,
        textureDamage2Overlay = Vehicles/Veh_Blood_Hvy,
        textureDamage1Shell = Vehicles/Veh_Damage1,
        textureDamage2Shell = Vehicles/Veh_Damage2,
        textureRust = Vehicles/Veh_Rust,

        sound
        {
            engine = VehicleEngineOffRoad,
            engineStart = VehicleEngineOffRoad,
            engineTurnOff = VehicleEngineOffRoad,
            horn = VehicleHornJeep,
            ignitionFail = VehicleIgnitionFailOffRoad,
        }

        extents = 2.1600 1.3067 5.5200,
        mass = 790,
        physicsChassisShape = 2.1600 1.3067 5.5200,
        centerOfMassOffset = 0.0000 0.6400 0.0000,
        shadowExtents = 2.1423 5.4780,
        shadowOffset = 0.0000 0.0000,
        engineForce = 4250,
        engineLoudness = 75,
        engineQuality = 70,
        maxSpeed = 90f,
        gearRatioCount = 3,
        stoppingMovementForce = 4.0f,
        rollInfluence = 0.7f,
        steeringIncrement = 0.04,
        steeringClamp = 0.3,
        suspensionStiffness = 30,
        suspensionCompression = 3.83,
        suspensionDamping = 2.88,
        maxSuspensionTravelCm = 15,
        suspensionRestLength = 0.2f,
        wheelFriction = 1.8f,
        frontEndHealth = 150,
        rearEndHealth = 150,
        seats = 4,

        wheel FrontLeft
        {
            front = true,
            offset = 0.8133 -0.7600 1.4933,
            radius = 0.37f,
            width = 0.25f,
        }

        wheel FrontRight
        {
            front = true,
            offset = -0.8133 -0.7600 1.5067,
            radius = 0.37f,
            width = 0.25f,
        }

        wheel RearLeft
        {
            front = false,
            offset = 0.8133 -0.7600 -1.7333,
            radius = 0.37f,
            width = 0.25f,
        }

        wheel RearRight
        {
            front = false,
            offset = -0.8133 -0.7600 -1.7333,
            radius = 0.37f,
            width = 0.25f,
        }

        template = PassengerSeat4,

        passenger FrontLeft
        {
            position inside
            {
                offset = 0.4533 -0.4400 -0.2267,
                rotate = 0.0000 0.0000 0.0000,
            }

            position outside
            {
                offset = 1.5600 -1.0000 -0.0800,
                rotate = 0.0000 0.0000 0.0000,
                area = SeatFrontLeft,
            }
        }

        passenger FrontRight
        {
            position inside
            {
                offset = -0.4533 -0.4400 -0.2267,
                rotate = 0.0000 0.0000 0.0000,
            }

            position outside
            {
                offset = -1.5600 -1.0000 -0.2800,
                rotate = 0.0000 0.0000 0.0000,
                area = SeatFrontRight,
            }
        }

        passenger RearLeft
        {
            position inside
            {
                offset = 0.4533 -0.4400 -1.0533,
                rotate = 0.0000 0.0000 0.0000,
            }

            position outside
            {
            }
        }

        passenger RearRight
        {
            position inside
            {
                offset = -0.4533 -0.4400 -1.0533,
                rotate = 0.0000 0.0000 0.0000,
            }

            position outside
            {
            }
        }

        area Engine
        {
            xywh = 0.0000 3.3600 2.0000 1.2000,
        }

        area TruckBed
        {
            xywh = 0.0000 -3.3333 2.1600 1.1467,
        }

        area SeatFrontLeft
        {
            xywh = 1.5733 -0.0400 0.9867 1.0933,
        }

        area SeatFrontRight
        {
            xywh = -1.5733 -0.0800 0.9867 1.0933,
        }

        area GasTank
        {
            xywh = -1.3733 -2.0533 0.5867 0.5867,
        }

        area TireFrontLeft
        {
            xywh = 1.4267 1.3200 0.6933 0.6933,
        }

        area TireFrontRight
        {
            xywh = -1.4267 1.3200 0.6933 0.6933,
        }

        area TireRearLeft
        {
            xywh = 1.4267 -1.4267 0.6933 0.6933,
        }

        area TireRearRight
        {
            xywh = -1.4267 -1.4267 0.6933 0.6933,
        }

        template = TrunkDoor,
        template = Trunk/part/TruckBed,
        template = Seat/part/SeatFrontLeft,
        template = Seat/part/SeatFrontRight,
        template = Seat/part/SeatRearLeft,
        template = Seat/part/SeatRearRight,

        part SeatRearLeft
        {
            table install
            {
                area = SeatFrontLeft,
            }

            table uninstall
            {
                area = SeatFrontLeft,
            }
        }

        part SeatRearRight
        {
            table install
            {
                area = SeatFrontRight,
            }

            table uninstall
            {
                area = SeatFrontRight,
            }
        }

        template = GloveBox,
        template = GasTank,
        template = Battery,
        template = Engine,
        template = Muffler,
        template = EngineDoor,

        part Heater
        {
            category = engine,

            lua
            {
                update = Vehicles.Update.Heater,
            }
        }

        part PassengerCompartment
        {
            category = nodisplay,

            lua
            {
                update = Vehicles.Update.PassengerCompartment,
            }
        }

        template = Windshield/part/Windshield,
        template = Windshield/part/WindshieldRear,
        template = Window/part/WindowFrontLeft,
        template = Window/part/WindowFrontRight,
        template = Window/part/WindowRearLeft,
        template = Window/part/WindowRearRight,

        part WindowRearLeft
        {
            area = TireRearLeft,
            parent =,

            table install
            {
                requireInstalled =,
            }
        }

        part WindowRearRight
        {
            area = TireRearRight,
            parent =,

            table install
            {
                requireInstalled =,
            }
        }

        template = Door/part/DoorFrontLeft,
        template = Door/part/DoorFrontRight,
        template = Tire,

        part TireFrontLeft
        {
            model InflatedTirePlusWheel
            {
                file = fhqMZSteelieMidLeft,
                offset = 0.0000 0.0000 0.0000,
                rotate = 0.0000 0.0000 0.0000,
            }
        }

        part TireFrontRight
        {
            model InflatedTirePlusWheel
            {
                file = fhqMZSteelieMidRight,
                offset = 0.0000 0.0000 0.0000,
                rotate = 0.0000 0.0000 0.0000,
            }
        }

        part TireRearLeft
        {
            model InflatedTirePlusWheel
            {
                file = fhqMZSteelieMidLeft,
                offset = 0.0000 0.0000 0.0000,
                rotate = 0.0000 0.0000 0.0000,
            }
        }

        part TireRearRight
        {
            model InflatedTirePlusWheel
            {
                file = fhqMZSteelieMidRight,
                offset = 0.0000 0.0000 0.0000,
                rotate = 0.0000 0.0000 0.0000,
            }
        }

        template = Brake,
        template = Suspension,
        template = Radio,
        template = Headlight,
		
		useChassisPhysicsCollision = false,

        physics box
        {
            offset = 0.0000 0.3467 0.0059,
            extents = 2.0800 0.6667 5.4667,
            rotate = 0.0000 0.0000 0.0000,
        }

        physics box
        {
            offset = 0.0000 0.6882 0.4667,
            extents = 1.9200 1.0933 0.6400,
            rotate = -56.0000 0.0000 0.0000,
        }

        physics box
        {
            offset = 0.0000 0.9600 -0.4908,
            extents = 1.9200 0.6133 1.3600,
            rotate = 0.0000 0.0000 0.0000,
        }

        physics box
        {
            offset = 0.0000 0.7733 -1.4460,
            extents = 1.8400 0.9600 0.5600,
            rotate = 59.0000 0.0000 0.0000,
        }

        physics box
        {
            offset = 0.0000 0.6051 -2.1467,
            extents = 1.8400 0.5067 1.0933,
            rotate = -8.0000 0.0000 0.0000,
        }

        physics box
        {
            offset = 0.0000 0.6000 1.7424,
            extents = 1.3333 0.3733 1.9733,
            rotate = 3.0000 0.0000 0.0000,
        }

        attachment trailer
        {
            offset = 0.0000 -0.4667 -2.8000,
            rotate = 0.0000 0.0000 0.0000,
            zoffset = -1.0000,
        }

        attachment trailerfront
        {
            offset = 0.0000 -0.5600 2.4800,
            rotate = 0.0000 0.0000 0.0000,
            zoffset = 1.0000,
        }
    }
}
